import http from "@/common/http/interface";
import {
  mapGetters,
  mapActions
} from 'vuex';
let httpUrl = http.config.baseUrl + 'api/v1/'
export default {
  // 生成UserSig
  // 文档地址：https://www.showdoc.com.cn/799517136031066/8113695352790148
  getUserSig: data => {
    return http.request({
      url: httpUrl + "chat/userSig",
      method: "get",
      data
    });
  },
  // 获取 privateMapKey
  // 文档地址：https://www.showdoc.com.cn/799517136031066/8113567941039587
  getPMK: data => {
    return http.request({
      url: httpUrl + "chat/privateMapKey",
      method: "get",
      data
    });
  },
}
